package com.tianhui.consignortwofei.mvp.model.enty;

import java.util.List;

/**
 * @author fgs
 * @date 2020/9/2
 * @description
 **/
public class TongHuaLogBean {

    private int current;
    private int pages;
    private List<RecordsDTO> records;
    private int size;
    private SortDTO sort;
    private int total;

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public List<RecordsDTO> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsDTO> records) {
        this.records = records;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public SortDTO getSort() {
        return sort;
    }

    public void setSort(SortDTO sort) {
        this.sort = sort;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public static class SortDTO {
        private boolean empty;
        private boolean sorted;
        private boolean unsorted;

        public boolean isEmpty() {
            return empty;
        }

        public void setEmpty(boolean empty) {
            this.empty = empty;
        }

        public boolean isSorted() {
            return sorted;
        }

        public void setSorted(boolean sorted) {
            this.sorted = sorted;
        }

        public boolean isUnsorted() {
            return unsorted;
        }

        public void setUnsorted(boolean unsorted) {
            this.unsorted = unsorted;
        }
    }

    public static class RecordsDTO {
        private String destinationcity;
        private String dispatchno;
        private String destinationcounty;
        private String roleid;
        private String destinationusername;
        private String deliverprovince="";
        private String create_by;
        private String dispatcheruserid;
        private String destinationprovince="";
        private String deliverusername;
        private String customerno;
        private String create_time;
        private String delivercounty="";
        private String to_name;
        private String destinationtel;
        private String delivercity="";
        private String weight;
        private String delivertel="";
        private String deliverdetails;
        private String phone="";
        private String user_id="";
        private String destinationdetails;
        private String location="";
        private String billno="";
        private String username="";

        private String type="";

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getTelphone() {
            return telphone;
        }

        public void setTelphone(String telphone) {
            this.telphone = telphone;
        }

        private String telphone="";

        public String getDrivertel() {
            return drivertel;
        }

        public void setDrivertel(String drivertel) {
            this.drivertel = drivertel;
        }

        private String drivertel;

        public String getDestinationcity() {
            return destinationcity;
        }

        public void setDestinationcity(String destinationcity) {
            this.destinationcity = destinationcity;
        }

        public String getDispatchno() {
            return dispatchno;
        }

        public void setDispatchno(String dispatchno) {
            this.dispatchno = dispatchno;
        }

        public String getDestinationcounty() {
            return destinationcounty;
        }

        public void setDestinationcounty(String destinationcounty) {
            this.destinationcounty = destinationcounty;
        }

        public String getRoleid() {
            return roleid;
        }

        public void setRoleid(String roleid) {
            this.roleid = roleid;
        }

        public String getDestinationusername() {
            return destinationusername;
        }

        public void setDestinationusername(String destinationusername) {
            this.destinationusername = destinationusername;
        }

        public String getDeliverprovince() {
            return deliverprovince;
        }

        public void setDeliverprovince(String deliverprovince) {
            this.deliverprovince = deliverprovince;
        }

        public String getCreate_by() {
            return create_by;
        }

        public void setCreate_by(String create_by) {
            this.create_by = create_by;
        }

        public String getDispatcheruserid() {
            return dispatcheruserid;
        }

        public void setDispatcheruserid(String dispatcheruserid) {
            this.dispatcheruserid = dispatcheruserid;
        }

        public String getDestinationprovince() {
            return destinationprovince;
        }

        public void setDestinationprovince(String destinationprovince) {
            this.destinationprovince = destinationprovince;
        }

        public String getDeliverusername() {
            return deliverusername;
        }

        public void setDeliverusername(String deliverusername) {
            this.deliverusername = deliverusername;
        }

        public String getCustomerno() {
            return customerno;
        }

        public void setCustomerno(String customerno) {
            this.customerno = customerno;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getDelivercounty() {
            return delivercounty;
        }

        public void setDelivercounty(String delivercounty) {
            this.delivercounty = delivercounty;
        }

        public String getTo_name() {
            return to_name;
        }

        public void setTo_name(String to_name) {
            this.to_name = to_name;
        }

        public String getDestinationtel() {
            return destinationtel;
        }

        public void setDestinationtel(String destinationtel) {
            this.destinationtel = destinationtel;
        }

        public String getDelivercity() {
            return delivercity;
        }

        public void setDelivercity(String delivercity) {
            this.delivercity = delivercity;
        }

        public String getWeight() {
            return weight;
        }

        public void setWeight(String weight) {
            this.weight = weight;
        }

        public String getDelivertel() {
            return delivertel;
        }

        public void setDelivertel(String delivertel) {
            this.delivertel = delivertel;
        }

        public String getDeliverdetails() {
            return deliverdetails;
        }

        public void setDeliverdetails(String deliverdetails) {
            this.deliverdetails = deliverdetails;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getDestinationdetails() {
            return destinationdetails;
        }

        public void setDestinationdetails(String destinationdetails) {
            this.destinationdetails = destinationdetails;
        }

        public String getLocation() {
            return location;
        }

        public void setLocation(String location) {
            this.location = location;
        }

        public String getBillno() {
            return billno;
        }

        public void setBillno(String billno) {
            this.billno = billno;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

    }//implements Parcelable
}










//    public String destinationcity;
//    public String dispatchno;
//    public String destinationcounty;
//    public String roleid;
//    public String destinationusername;
//    public String deliverprovince;
//    public String create_by;
//    public String dispatcheruserid;
//    public String destinationprovince;
//    public String deliverusername;
//    public String customerno;
//    public String drivertel;
//    public String create_time;
//    public String delivercounty;
//    public String destinationtel;
//    public String delivercity;
//    public String weight;
//    public String delivertel;
//    public String deliverdetails;
//    public String phone;
//    public String user_id;
//    public String destinationdetails;
//    public String location;
//    public String billno;
//    public String username;
//
//    @Override
//    public int describeContents() {
//        return 0;
//    }
//
//    @Override
//    public void writeToParcel(Parcel dest, int flags) {
//        dest.writeString(this.destinationcity);
//        dest.writeString(this.dispatchno);
//        dest.writeString(this.destinationcounty);
//        dest.writeString(this.roleid);
//        dest.writeString(this.destinationusername);
//        dest.writeString(this.deliverprovince);
//        dest.writeString(this.create_by);
//        dest.writeString(this.dispatcheruserid);
//        dest.writeString(this.destinationprovince);
//        dest.writeString(this.deliverusername);
//        dest.writeString(this.customerno);
//        dest.writeString(this.drivertel);
//        dest.writeString(this.create_time);
//        dest.writeString(this.delivercounty);
//        dest.writeString(this.destinationtel);
//        dest.writeString(this.delivercity);
//        dest.writeString(this.weight);
//        dest.writeString(this.delivertel);
//        dest.writeString(this.deliverdetails);
//        dest.writeString(this.phone);
//        dest.writeString(this.user_id);
//        dest.writeString(this.destinationdetails);
//        dest.writeString(this.location);
//        dest.writeString(this.billno);
//        dest.writeString(this.username);
//
//    }
//
//    public TongHuaLogBean() {
//    }
//
//    protected TongHuaLogBean(Parcel in) {
//        this.destinationcity = in.readString();
//        this.dispatchno = in.readString();
//        this.destinationcounty = in.readString();
//        this.roleid = in.readString();
//        this.destinationusername = in.readString();
//        this.deliverprovince = in.readString();
//        this.create_by = in.readString();
//        this.dispatcheruserid = in.readString();
//        this.destinationprovince = in.readString();
//        this.deliverusername = in.readString();
//        this.customerno = in.readString();
//        this.drivertel = in.readString();
//        this.create_time = in.readString();
//        this.delivercounty = in.readString();
//        this.destinationtel = in.readString();
//        this.delivercity = in.readString();
//        this.weight = in.readString();
//        this.delivertel = in.readString();
//        this.deliverdetails = in.readString();
//        this.phone = in.readString();
//        this.user_id = in.readString();
//        this.destinationdetails = in.readString();
//        this.location = in.readString();
//        this.billno = in.readString();
//        this.username = in.readString();
//
//    }
//
//    public static final Creator<TongHuaLogBean> CREATOR = new Creator<TongHuaLogBean>() {
//        @Override
//        public TongHuaLogBean createFromParcel(Parcel source) {
//            return new TongHuaLogBean(source);
//        }
//
//        @Override
//        public TongHuaLogBean[] newArray(int size) {
//            return new TongHuaLogBean[size];
//        }
//    };
//}
